import React from 'react'
import { Link} from 'react-router-dom'
export default class Main extends React.Component{

    render(){
        return (
                <div>
                      this is main
                    <br/>
                    <Link to={'/main/test-id'}>/main/test-id</Link>
                    <br/>
                    <Link to={'/main/11'}>/main/11</Link>
                    <hr/>
                    {this.props.children}
                </div>
        );
    }
}
